objects = main.o
a.out:$(objects)
	g++ -o a.out $(objects)
%.o:%.c
	g++  $<
.PHONY:clean
clean:
	rm -r *.o 
	rm -r a.out
